package com.bw.biz.vo;

import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bw.biz.mapper.TbProductMapper;
import com.bw.biz.pojo.TbProduct;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

/**
 * @author: 薛志彬
 * @date: 2021.03.31
 */
@Service
public class Demo {
    @Autowired
    private TbProductMapper productMapper;

    public static void main(String[] args){
        TbProduct tbProduct = new TbProduct();
//        tbProduct.setProductName("123");
        if (tbProduct == null){
            System.out.println("为空");
        }else{
            System.out.println(tbProduct);
            System.out.println("不为空");
        }

    }

}
